package cn.bgs.service;

import cn.bgs.common.R;
import cn.bgs.pojo.VehicleCar;
import cn.bgs.vo.VehicleAdd;
import cn.bgs.pojo.vo.VehicleCarVo;
import cn.bgs.vo.UserVo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 车辆表 服务类
 * </p>
 *
 * @author cf
 * @since 2022-06-07
 */
public interface IVehicleCarService extends IService<VehicleCar> {

    List<VehicleCar> appFindVehicleCar(Integer userId);

    void appudData(VehicleAdd vehicleAdd);
    List<VehicleCar> getMyCar(String userId);

    String addMyCar(VehicleCarVo vehicleCarVo);

    VehicleCar getOneCar(String carNumber);

    int updCar(VehicleCar vehicleCar);

    List<VehicleCar> getAllCar();
    R selectCarInfo(VehicleCar vehicleCar);

    R deleteInfo(Integer vehicleCarId);

    boolean addVcarInfo(VehicleCar vehicleCar);

    boolean updateInfo(VehicleCar vehicleCar);

    R infoPc(UserVo userVo);
}
